Universal Access To All Knowledge
Home Donate | Store | Blog | FAQ | Jobs | Volunteer Positions | Contact | Bios | Forums | Projects | Terms, Privacy, & Copyright
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: oliver Date: Dec 1, 2002 8:12am
Forum: movies Subject: Re: Techy volunteer needed: setup linux tools for conversion

if things need to be scripted, consider
"mencoder" which comes with mplayer. Examples:
http://www.mplayerhq.hu/DOCS/encoding.html

Reply to this post
Reply [edit]

Poster: Administrator, Curator, or Staffakb Date: Dec 2, 2002 3:55am
Forum: movies Subject: Re: Techy volunteer needed: setup linux tools for conversion

Mpeg4 is a little sketchy with mplayer/mencoder. You might take a look at http://mpeg4ip.sf.net, its a GPL implementation sponsored by Cisco.

Reply to this post
Reply [edit]

Poster: Doug Merritt Date: Dec 10, 2002 5:13am
Forum: movies Subject: Progress on: Techy volunteer needed: setup linux tools for conversion

Thanks for the mpeg4ip tip.

Mplayer has not worked out (and I was only trying
to compile the command-line version).

It sounds very promising, since it tries to
support every video format, however the
authors have an over-emphasis on state of the
art C compilers (in order to get every bit of
performance possible, I suppose). It would
not compile -- actually configure refused to
continue -- with my system's egcs 2.91.66
(two years old, I think). Using such an
obsolete compiler is a fatal error to MPlayer's
configure. Sigh.

The instructions told me I could install
just the very latest gcc-core 3.1.1, which didn't
compile, and when I fixed that by hand, it turned out
that the very latest binutils was also needed,
which also didn't compile but was not trivially
fixable.

I could spend a bunch of time upgrading my entire
2-year-old Linux distribution, however as I understand
it, Brewster is interested in tools that are
as portable as possible, and MPlayer is
demonstrating that they are interested in the
opposite...nor am I completely confident that
it would compile even *then*...so another tool
is probably in order.

I did successfully use vcdimager to convert,
however it produces an entire VCD file system,
not just a new mpeg file, and I don't see an
option to do otherwise. (I *think* I was successful;
my non-computer DVD player refuses to handle
CD-Rs and CD-RWs.)

Reply to this post
Reply [edit]

Poster: Doug Merritt Date: Dec 10, 2002 5:13am
Forum: movies Subject: Progress on: Techy volunteer needed: setup linux tools for conversion

Thanks for the mpeg4ip tip.

Mplayer has not worked out (and I was only trying
to compile the command-line version).

It sounds very promising, since it tries to
support every video format, however the
authors have an over-emphasis on state of the
art C compilers (in order to get every bit of
performance possible, I suppose). It would
not compile -- actually configure refused to
continue -- with my system's egcs 2.91.66
(two years old, I think). Using such an
obsolete compiler is a fatal error to MPlayer's
configure. Sigh.

The instructions told me I could install
just the very latest gcc-core 3.1.1, which didn't
compile, and when I fixed that by hand, it turned out
that the very latest binutils was also needed,
which also didn't compile but was not trivially
fixable.

I could spend a bunch of time upgrading my entire
2-year-old Linux distribution, however as I understand
it, Brewster is interested in tools that are
as portable as possible, and MPlayer is
demonstrating that they are interested in the
opposite...nor am I completely confident that
it would compile even *then*...so another tool
is probably in order.

I did successfully use vcdimager to convert,
however it produces an entire VCD file system,
not just a new mpeg file, and I don't see an
option to do otherwise. (I *think* I was successful;
my non-computer DVD player refuses to handle
CD-Rs and CD-RWs.)

Reply to this post
Reply [edit]

Poster: Administrator, Curator, or Staffakb Date: Dec 10, 2002 6:24am
Forum: movies Subject: Progress on: Techy volunteer needed: setup linux tools for conversion

Hmm, actually Redhat caused quite a bit of controversy with their bundling of gcc2.96 which had known problems. There are a bunch of projects which it breaks, the linux kernel being one of them. I've had no problems with gcc3.2 myself and just compiled mplayer with it the other day pain free. It would still be my choice for use on this type of project.

Reply to this post
Reply [edit]

Poster: Doug Merritt Date: Dec 10, 2002 7:37am
Forum: movies Subject: Progress on: Techy volunteer needed: setup linux tools for conversion

It's SuSE, not Redhat, but in any case, are you
trying to tell me that egcs 2.91.66 is somehow
equivalent to gcc 2.96? Mplayer instructions
certainly make it clear that 2.96 shouldn't be
used, but I didn't see anything about egcs.

Reply to this post
Reply [edit]

Poster: Administrator, Curator, or Staffakb Date: Dec 10, 2002 7:42am
Forum: movies Subject: Progress on: Techy volunteer needed: setup linux tools for conversion

I'm not perfect on my gcc lineage but the whole 2.9x and egcs merge was rocky. I would suggest 3.2, I haven't had any problems compiling anything with it and it seems to have the blessing of the free software community generally.

Reply to this post
Reply [edit]

Poster: Administrator, Curator, or Staffakb Date: Dec 11, 2002 2:11am
Forum: movies Subject: Re: Progress on: Techy volunteer needed: setup linux tools for conversion

After hearing about your frustrations, I spent a little time on this last night and fiddled around with a few different tools. My general goal was to get as close to the already converted prelinger vcd and divx movies, though I'm not sure if that's exactly what Brewster wanted.

I settled on ffmpeg, mplayer uses its libraries for a good bit of its functionality but its frontend didn't let me do what I wanted with the mpeg conversions. Mplayer would be nice if you want to easily try other mpeg4 codec implementations, like Xvid or the binary ones for Windows.

Once you play around with the options to get what you want its pretty easy to script to convert from mpeg2 automatically. One thing that would take a bit of work would be to test if it handled mpeg2's in various aspect ratios etc.

Here's what I settled on.

ffmpeg -i preview1.mpg -s 352x280 -b 1150.5 -ab 224 preview.mpg1

ffmpeg -i 10816a.mpg -s 320x240 -b 452.5 -vcodec mpeg4 -acodec mp3 -ab 64 10816a.avi